package com.yc.sole.system.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import com.yc.sole.common.enums.IBaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author yizuomin
 * @date 2024/3/7 10:25
 **/
@Getter
@AllArgsConstructor
public enum SequencePrefixRule implements IBaseEnum<String> {

    /**
     *
     */
    NONE("0", "无前缀"),
    FIXED("1", "固定字符串"),
    YY("2", "yy"),
    yyMM("3", "yyMM"),
    yyMMdd("4", "yyMMdd"),
    yyyyMMdd("5", "yyyyMMdd");

    @JsonValue
    private final String value;
    private final String description;
}
